package com.thoughtworks.biblioteca;
import java.util.*;
import java.util.ArrayList;

/**
 * Created by revathyr on 7/8/14.
 */
class Book
{

    private  String bookName;
    private String author;
    private int publishedYear;
    private boolean isAvailable;
     //static List<Book> listOfBooks=new ArrayList<Book>();
    //listOfbooks.add("c");

  public Book(String name,String authorName,int year,boolean available)
  {
      bookName=name;
      author=authorName;
      publishedYear=year;
      isAvailable=available;
     // listOfBooks.add(Book);



  }
    public String getBookName()
    {return this.bookName;
}
    public  String getAuthor()
    {
        return this.author;
    }
    public int getPublishedYear()
    {
        return this.publishedYear;
    }
    public boolean isAvailable()
    {
        return this.isAvailable;
    }

}

